package cn.com.bluemoon.daps.system.service;

import cn.com.bluemoon.daps.common.domain.BaseModel;
import cn.com.bluemoon.daps.common.domain.ResultBean;
import cn.com.bluemoon.daps.common.mp.IBmService;
import cn.com.bluemoon.daps.system.entity.DapDataModelNameRecommendation;
import cn.com.bluemoon.daps.system.vo.ModelNameRecommendSearchVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.springframework.web.multipart.MultipartFile;
import reactor.util.function.Tuple2;

/**
 * <p>
 * 命名推荐表 服务类
 * </p>
 *
 * @author admin
 * @since 2020-08-03
 */
public interface DapDataModelNameRecommendationService extends IBmService<DapDataModelNameRecommendation> {

    /**
     * 命名推荐
     *
     * @param searchVo
     * @return
     */
    Tuple2<BaseModel<DapDataModelNameRecommendation>, IPage<DapDataModelNameRecommendation>> nameRecommend(ModelNameRecommendSearchVo<DapDataModelNameRecommendation> vo);

    /**
     * 命名推荐列表
     * @param vo
     * @return
     */
    IPage<DapDataModelNameRecommendation> nameRecommendList(ModelNameRecommendSearchVo<DapDataModelNameRecommendation> vo);

    /**
     * 导入excel模板
     * @param file
     * @return
     */
    ResultBean<?> importExcel(MultipartFile file);
}
